#pragma once
#include <wtypes.h>
#include <QString>

class TimeEvent
{
public:
	TimeEvent(void);
	TimeEvent(SYSTEMTIME sysTime,QString msg){
		_sysTime = sysTime;
		_msg = msg;
	}
	bool inline operator <( const TimeEvent &other) const {
		return this->_sysTime<other._sysTime|| 
			(this->_sysTime==other._sysTime && _msg<other._msg);
	}
	~TimeEvent(void);
public:
	SYSTEMTIME _sysTime;
	QString _msg;
};
